package com.bw.service.impl;

import com.bw.domain.TbMenu;
import com.bw.mapper.MenuMapper;
import com.bw.service.MenuService;
import org.apache.ibatis.annotations.Select;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author :Beyond🎸🎸
 * @date : 2025-02-28 19:55:05
 * @description Rock and Roll
 **/
@Service
public class MenuServiceImpl implements MenuService {

    @Autowired
    MenuMapper menuMapper;
    @Override
    public List<TbMenu> list(Integer userId) {
        return menuMapper.list(userId);
    }
}
